package com.itheima.stock.service;

import com.itheima.stock.pojo.entity.SysUser;
import com.itheima.stock.vo.req.LoginReqVo;
import com.itheima.stock.vo.resp.LoginRespVo;
import com.itheima.stock.vo.resp.R;

import java.util.Map;

public interface UserService {

    SysUser findByUsername(String username);

    //登陆功能
    R<LoginRespVo> login(LoginReqVo loginReqVo);

    //验证码
    R<Map> getCaptchaCode();
}
